<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <title>登录</title>
	<link type="text/css" rel="Stylesheet" href="./css/login.css" />
</head>
<body>
<div th:if="${param.error}">
<script>
	alert("用户名或密码错");
</script>
</div>
<div th:if="${param.logout}">
<script>
	alert("您已注销成功");
</script>
</div>
<form th:action="@{/login}" method="post" style="position: absolute;top: 25%;left:35%;">
	<div class="logForm">
		<div style="height:150px;"><img alt="" src="./image/login.jpg"></div>
		<div class="log1"><label><img alt="" src="./image/user.jpg"><input type="text" name="username" placeholder="输入用户名"/> </label></div>
	    <div class="log2"><label><img alt="" src="./image/key.jpg"><input type="password" name="password" placeholder="输入密码"/> </label></div>
	    <div class="log3"><input type="submit" value="登录" style="cursor:pointer;"/></div>
	</div>
   
</form>
</body>
<script>
   
</script>
</html>